<?php

namespace app\command;

use Symfony\Component\Console\Command\Command;
use Symfony\Component\Console\Input\InputInterface;
use Symfony\Component\Console\Output\OutputInterface;

/**
 * 测试命令
 * Class TestCmd
 * @package app\command
 */
class TestCmd extends Command
{
    protected static $defaultName = 'cmd:test';
    protected static $defaultDescription = '测试命令行';

    protected function execute(InputInterface $input, OutputInterface $output)
    {


        echo __METHOD__ . PHP_EOL;
        return self::SUCCESS;
    }
}

